﻿@model SGC_CarteraClientes.Models.CA_PARAMETRO_CAMPANIA

@{
    ViewBag.Title = "Edit";
}

<h2>Editar</h2>
<hr />
@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)

    <fieldset>
        <legend>CA_PARAMETRO_CAMPANIA</legend>
        <div class="noView">
        <div class="editor-label">
            ID de Parámetro
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.PARAM_ID)
            @Html.ValidationMessageFor(model => model.PARAM_ID)
        </div>
         </div>
        <div class="editor-label">
            ID de Parámetro
        </div>
        <div class="editor-field">
            @Html.TextBoxFor(model => model.PARAM_ID, new { @disabled="disabled",@size ="10"})
            @Html.ValidationMessageFor(model => model.PARAM_ID)
        </div>
        <div class="editor-label">
           @Html.Label("Descripción")
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.PARAM_DES, new { @size = "40"})
            @Html.ValidationMessageFor(model => model.PARAM_DES)
        </div>

        <div class="editor-label">
        @Html.Label("[%] Descuento Máximo")
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.PARAM_DCTOMAX, new { @size = "40"})
            @Html.ValidationMessageFor(model => model.PARAM_DCTOMAX)
        </div>

        <div class="editor-label">
          @Html.Label("[%] Descuento Mínimo")
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.PARAM_DCTOMIN, new { @size = "5",@class="qt"})
            @Html.ValidationMessageFor(model => model.PARAM_DCTOMIN)
        </div>

        <div class="editor-label">
          @Html.Label("[%] Comisión")
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.PARAM_COMISION, new { @size = "5",@class="qt"})
            @Html.ValidationMessageFor(model => model.PARAM_COMISION)
        </div>

        <div class="editor-label">
           @Html.Label("Mínimo de días de Vigencia")
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.PARAM_VIGENCIA, new { @size = "5",@class="qt"})
            @Html.ValidationMessageFor(model => model.PARAM_VIGENCIA)
        </div>
     
        <p>
            <input type="submit" value="Guardar" />
        </p>
    </fieldset>
}

<div>
    @Html.ActionLink("Cancelar", "Index")
</div>

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
